* lisp.h (SAFE_ALLOCA, SAFE_ALLOCA_LISP): Avoid 'int' overflow
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 22 Mar 2011 09:08:11 +0000 (02:08 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 22 Mar 2011 09:08:11 +0000 (02:08 -0700)
commitac67156b59a3e6276ee270a4b5e9672558466191
tree0913e625a9493bf86b55d3f81046d93169a3ee4b
parent6939a9280a20216d5d8c4ecf2e6e18a0b4fe83cf
* lisp.h (SAFE_ALLOCA, SAFE_ALLOCA_LISP): Avoid 'int' overflow

leading to a memory leak, possible in functions like
load_charset_map_from_file that can allocate an unbounded number
of objects.
src/ChangeLog
src/lisp.h